/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.nii.qlks.ControlLayer;

import edu.nii.qlks.BusinessLogicLayer.PhieuDenBLL;
import edu.nii.qlks.DataTransferObject.PhieuDenInfo;
import java.util.ArrayList;

/**
 *
 * @author MARS_NHO
 */
public class PhieuDenControl {
    PhieuDenBLL PhieuThuePhong = new PhieuDenBLL();
    
 
    public ArrayList LayDS() throws Exception{
        return PhieuThuePhong.LayDS();
    }
    
    public ArrayList LayDS(String Condition) throws Exception{
        return PhieuThuePhong.LayDS(Condition);
    }
        
    public void Insert(PhieuDenInfo phieuThuePhongInfo) throws Exception{
        PhieuThuePhong.Insert(phieuThuePhongInfo);
    }
    
    public void Update(PhieuDenInfo phieuThuePhongInfo) throws Exception{
        PhieuThuePhong.Update(phieuThuePhongInfo);
    }
    
    public void Delete(PhieuDenInfo phieuThuePhongInfo) throws Exception{
        PhieuThuePhong.Delete(phieuThuePhongInfo);
    }
    
    public String TaoMaTuDong(String maGoc, int batDau){
        return PhieuThuePhong.TaoMaTuDong(maGoc, batDau);
    }
    
    public ArrayList LayDS_ChuaTT(String TenPhong) throws Exception{
        //return PhieuThuePhong.LayDS_ChuaTT(TenPhong);
        return null;
    }
    
    public ArrayList LaySoLuongKhach(String MaPhieuThue) throws Exception{
        //return PhieuThuePhong.LaySoLuongKhach(MaPhieuThue);
        return null;
    }
    
    public ArrayList LayLoaiKhach(String MaPhieuThue) throws Exception{
        //return PhieuThuePhong.LayLoaiKhach(MaPhieuThue);
        return null;
    }
    
    public ArrayList TimKiemNgayThue(String tungay, String denngay)throws Exception{
        //return PhieuThuePhong.TimKiemNgayThue(tungay, denngay);
        return null;
    }
    
    public ArrayList TimKiemNgayTra(String tungay, String denngay)throws Exception{
        //return PhieuThuePhong.TimKiemNgayTra(tungay, denngay);
        return null;
    }
}